package com.asj.house.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 预约表
 * </p>
 *
 * @author asj
 * @since 2021-03-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class HouseSubscribe implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 预约人id
     */
    private Integer userId;

    /**
     * 预约房源id
     */
    private Integer roomId;

    /**
     * 带领看房中介id
     */
    private Integer intermediaryId;

    /**
     * 预约看房人数
     */
    private Integer num;

    /**
     * 预约看房时间
     */
    private String time;

    /**
     * 操作类型（0=刚预约，1=已分配，2=看房完成）
     */
    private Integer type;

    /**
     * 创建时间
     */
    private LocalDateTime createdDate;

    /**
     * 修改时间
     */
    private LocalDateTime modifiedDate;

    /**
     * 删除标记：0=正常;1=已删除
     */
    private Integer deleted;


}
